import request from "@/api/https.js"
export const giftCard = {
	bindGiftCard: (params = {}) => {
		return request.request({
			url: "/gift_card_binding",
			method: "post",
			data: params
		})
	},
	getGiftCardHistory: (params = {}) => {
		return request.request({
			url: "/gift_card_record",
			method: "get",
			data: params
		})
	},
	getGiftCardDetail: (params = {}) => {
		return request.request({
			url: "/gift_card_detail/12",
			method: "get",
			data: params
		})
	},
	giftCardCreateOrder: (params = {}) => {
		return request.request({
			url: "/order/giftCard/create",
			method: "post",
			data: params
		})
	},
}